package view;



import java.io.IOException;
import java.net.UnknownHostException;

import controller.Hypervisor;
import model.exceptions.StreamException;

public class Main {

	public static void main(String[] args) {
		Hypervisor h = new Hypervisor(new CommunicationArea.TextAreaOutputStream(),new CommunicationArea.TextAreaOutputStream());
		MainWindow mainW = new MainWindow(h);
		mainW.getLogArea().setOutputStream((CommunicationArea.TextAreaOutputStream)h.getOutputStreamLog(),
										(CommunicationArea.TextAreaOutputStream)h.getOutputStreamServer());
		h.setMainWindow(mainW);
		mainW.setVisible(true);
	}
}
